﻿<%@ Page Language="C#" CodeBehind="Contact.aspx.cs" Inherits="BikeBouncer.Site.Contact_aspx" MasterPageFile="/MainLayout.master" %>
<asp:Content ContentPlaceHolderID="MainContents" runat="server">
	<p>
		<asp:Literal meta:resourcekey="LitContactInfo" runat="server" />
	</p>
	<asp:Panel ID="PanForm" runat="server">
		<div class="PanelForm">
			<asp:Label AssociatedControlID="TxtName" meta:resourcekey="LblName" runat="server" />
			<asp:TextBox ID="TxtName" CssClass="FormText" Width="250px" meta:resourcekey="TxtName" runat="server" />
			<asp:RequiredFieldValidator ID="ReqTxtName" ControlToValidate="TxtName" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtName" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtEmail" meta:resourcekey="LblEmail" runat="server" />
			<asp:TextBox ID="TxtEmail" CssClass="FormText" Width="250px" meta:resourcekey="TxtEmail" runat="server" />
			<asp:RequiredFieldValidator ID="ReqTxtEmail" ControlToValidate="TxtEmail" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtEmail" runat="server" />
			<asp:RegularExpressionValidator ID="ValTxtEmail" ControlToValidate="TxtEmail" Display="Dynamic" Text="*" meta:resourcekey="ValTxtEmail" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtSubject" meta:resourcekey="LblSubject" runat="server" />
			<asp:TextBox ID="TxtSubject" CssClass="FormText" Width="250px" meta:resourcekey="TxtSubject" runat="server" />
			<br />
			<asp:Label AssociatedControlID="TxtMessage" meta:resourcekey="LblMessage" runat="server" />
			<asp:TextBox ID="TxtMessage" CssClass="FormArea" Width="400px" Height="140px" TextMode="MultiLine" meta:resourcekey="TxtMessage" runat="server" />
			<asp:RequiredFieldValidator ID="ReqTxtMessage" ControlToValidate="TxtEmail" Display="Dynamic" Text="*" meta:resourcekey="ReqTxtMessage" runat="server" />
		</div>
		<div class="PanelButtons">
			<asp:ValidationSummary CssClass="ValSummary" DisplayMode="List" ShowSummary="true" HeaderText="<%$ Resources:Messages,ValidationSummary %>" runat="server" />
			<asp:Button ID="ButSend" CssClass="FormButton" OnClick="ButSend_Click" meta:resourcekey="ButSend" runat="server" />
		</div>
	</asp:Panel>
	<asp:Panel ID="PanSent" runat="server">
		<strong class="Ok"><asp:Literal meta:resourcekey="LitSent" runat="server" /></strong>
		<p>
			<asp:Literal meta:resourcekey="LitSentInfo" runat="server" />
		</p>
	</asp:Panel>
</asp:Content>